package com.mapper;

import com.pojo.Users;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;


public interface UserMapper {
    List<Users> selectByUsernameAndPassword(@Param("username") String username, @Param("password") String password);
    void insert(@Param("id") int id,@Param("username") String username, @Param("password") String password, @Param("sex") String sex, @Param("signuptime") Date signuptime, @Param("email") String email, @Param("phonenumber") String phonenumber);
    Integer selectMaxId();
}
